<html>
  <body>
    <router-link to="/">Go to Home</router-link>
    <router-link to="/about">Go to About</router-link>
    <router-view></router-view>
  </body>
  <script src="./vue/vue.min.js"></script>
  <script src="./vue-router/vue-router.js"></script>
  <script>
    const Home = { template: '<div>Home</div>' }
    const About = { template: '<div>About</div>' }
    const router=new VueRouter({
      router:[
        { path: '/', component: Home },
        { path: '/about', component: About },
      ]
    })
    var app = new Vue({
      el: '#app',
      router
    })
  </script>
</html>